    <!-- Fixed navbar -->
    <div class="navbar-fixed-top">
      <div class="top-putih">
        <div class="container">
          <div class="logo pull-left">
            <a href="<?php echo site_url();?>" title="Dasbor"><img src="<?php echo base_url('themes/apotek/images/logo.png');?>"></a>
          </div>
          <!-- <div class="img-profil pull-right">
            <img class="img-circle" src="<?php echo base_url('themes/apotek/images/default.png');?>">
          </div> -->
          <div class="clearfix"></div>
        </div>
        <div class="clearfix"></div>
      </div>
      <div class="navbar navbar-inverse" role="navigation">
        
        <div class="container">
            <ul class="nav navbar-nav">
              <li class="<?php if($this->uri->segment(1) == 'dasbor'){echo 'active';}else{echo '';} ?>"><a href="<?php  echo site_url('dasbor'); ?>" title="Halaman Dasbor">Dasbor</a></li>
              <?php $this->rule->navbar_menu();?>

              <!-- <li><a href="#about">About</a></li>
              <li><a href="#contact">Contact</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li> -->
            </ul>

            <ul class="nav navbar-nav navbar-right">
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo user_first_name() . ' ' . user_last_name(); ?> <b class="caret"></b></a>
                <ul class="dropdown-menu">
                <?php 
                  if($this->ion_auth->in_group(array($this->config->item('super_admin_group', 'ion_auth')))){
                ?>
                  <li><a href="<?php echo site_url('settings');?>"><i class="fa fa-gear"></i>&nbsp;&nbsp;&nbsp;Pengaturan</a></li>
                <?php 
                  }

                  if($this->ion_auth->in_group(array($this->config->item('super_admin_group', 'ion_auth'),$this->config->item('admin_group', 'ion_auth')))){
                ?>
                  <li><a href="<?php echo site_url('auth');?>"><i class="fa fa-key"></i>&nbsp;&nbsp;&nbsp;Autentikasi</a></li>
                <?php
                  }
                ?>                  
                  <li><a href="<?php echo site_url('me');?>"><i class="fa fa-pencil-square"></i>&nbsp;&nbsp;&nbsp;Profil Saya</a></li>
                  <li><a href="<?php echo site_url('logout');?>"><i class="fa fa-sign-out"></i>&nbsp;&nbsp;&nbsp;Keluar</a></li>
                </ul>
              </li>
            </ul>
        </div>
      </div>
      <div class="bg-breadcrumb">
        <div class="container">
          <ol class="breadcrumb">
            <?php 
              if($this->ion_auth->in_group(array($this->config->item('default_group', 'ion_auth')))){
                echo "<li>
                        <a href='#'>
                          Anda belum mendapatkan hak akses, 
                          silahkan menghubungi Admin untuk mendapatkan hak akses.
                        </a>
                      </li>";
              }else{
                echo $this->breadcrumb->output();
              }
            ?>
          </ol>
        </div>
      <div class="clearfix"></div>
      </div>
    </div>